using System;
using System.Collections.Generic;
using System.Text;
using CodeStory.Core.UI;
using CodeStory.Core;

namespace CodeStory.Gallery.Portlets
{
	[NavigationPortlet("CodeStory_Gallery_ShowPhoto")]
	public class ShowPhoto : Portlet
	{
		protected override void OnInit(EventArgs e) {
			Load += new EventHandler(ShowPhoto_Load);
			base.OnInit(e);
		}

		void ShowPhoto_Load(object sender, EventArgs e) {
			if (!IsPostBack) {
				BindPhoto();
			}
		}

		private void BindPhoto() {
			string photoid = Request.QueryString["photoid"];
			if (string.IsNullOrEmpty(photoid)) return;
		}
	}
}
